package com.looookme.shaozhuo.activities;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;

/**
 * Created by Shaozhuo on 2015/9/8.
 */
public class ActivityBundle_2 extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Intent intent = getIntent();
        Bundle bundle = intent.getExtras();
        Toast.makeText(ActivityBundle_2.this, "传递过来的内容为 : " + bundle.get("KEY"), Toast.LENGTH_SHORT).show();
    }
}
